package com.entity;

import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

public class Users {
	private int userid;
	private String name;
	private String pwd;
	private int stage;
	@DateTimeFormat(pattern="yyyy-MM-dd")
	private Date entrancetime;
	private int status = 1;
	public int getUserid() {
		return userid;
	}
	public void setUserid(int userid) {
		this.userid = userid;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getPwd() {
		return pwd;
	}
	public void setPwd(String pwd) {
		this.pwd = pwd;
	}
	public int getStage() {
		return stage;
	}
	public void setStage(int stage) {
		this.stage = stage;
	}
	public Date getEntrancetime() {
		return entrancetime;
	}
	public void setEntrancetime(Date entrancetime) {
		this.entrancetime = entrancetime;
	}
	public int getStatus() {
		return status;
	}
	public void setStatus(int status) {
		this.status = status;
	}
	@Override
	public String toString() {
		return "Users [userid=" + userid + ", name=" + name + ", pwd=" + pwd
				+ ", stage=" + stage + ", entrancetime=" + entrancetime
				+ ", status=" + status + "]";
	}
	
}
